net: fec: fix build warnings for 64bits support
authorYe Li <[email protected]>
Wed, 10 Jan 2018 05:20:44 +0000 (13:20 +0800)
committerStefano Babic <[email protected]>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commitf24e482ae0b856fcf18e8e6956ab3f6b59f3693f
treee7ae2c3abf4e68d22eda5806d57216467b206dfb
parent238a53c71010ea15e38ab0253316a7ac2fd8035c
net: fec: fix build warnings for 64bits support

When building for 64bits system, we get some warnings about type
cast between pointer and integer. This patch eliminates the warnings
by using ulong/long type which is 32bits on 32bits system or 64bits on
64bits system.

Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
drivers/net/fec_mxc.c